import dt from '@dt/dt'
import orderApi from '@/config/server/api/order.js'

function checkBonusExtend(info) {
  return orderApi.bonusExtend.checkBonusExtend.fetch(info)
}

function createExtend(info) {
  return orderApi.bonusExtend.createExtend.fetch(info)
}

//查询奖金延期发起申请列表
function getBoExtendList(info) {
  return orderApi.bonusExtend.getBoExtendList.fetch(info)
}
//删除延期发起申请
function delBoExtend(info) {
  return orderApi.bonusExtend.delBoExtend.fetch(info)
}

function updateBoExtendStatus(info) {
  return orderApi.bonusExtend.updateBoExtendStatus.fetch(info)
}

function getExtendDetail(info) {
  return orderApi.bonusExtend.getExtendDetail.fetch(info)
}

function exportBoExtendList(info) {
  return orderApi.bonusExtend.exportBoExtendList.fetch(info)
}

function getBoApplyMonth(info) {
  return orderApi.bonusExtend.getBoApplyMonth.fetch(info)
}

export default {
  checkBonusExtend,
  createExtend,
  getBoExtendList,
  delBoExtend,
  updateBoExtendStatus,
  getExtendDetail,
  exportBoExtendList,
  getBoApplyMonth
}
